package com.cofey.remote;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by cofey on 16/8/3.
 */
@FeignClient("spring-cloud-feign")
public interface DemoService {
    @RequestMapping(value = "/feign/findUser", method = RequestMethod.POST)
    ResVo<UserResVo> findUser(@RequestBody ReqVo<UserReqVo> vo);
}
